package com.Liux.blog.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "direct_msg")
public class DirectMsg {
    /**
     * id
     */
    @Id
    private Integer id;

    /**
     * 发信者id
     */
    @Column(name = "letter_id")
    private String letterId;

    /**
     * 收信者id
     */
    @Column(name = "Keep_id")
    private String keepId;

    /**
     * 内容
     */
    private String center;

    /**
     * 获取id
     *
     * @return id - id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置id
     *
     * @param id id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取发信者id
     *
     * @return letter_id - 发信者id
     */
    public String getLetterId() {
        return letterId;
    }

    /**
     * 设置发信者id
     *
     * @param letterId 发信者id
     */
    public void setLetterId(String letterId) {
        this.letterId = letterId;
    }

    /**
     * 获取收信者id
     *
     * @return Keep_id - 收信者id
     */
    public String getKeepId() {
        return keepId;
    }

    /**
     * 设置收信者id
     *
     * @param keepId 收信者id
     */
    public void setKeepId(String keepId) {
        this.keepId = keepId;
    }

    /**
     * 获取内容
     *
     * @return center - 内容
     */
    public String getCenter() {
        return center;
    }

    /**
     * 设置内容
     *
     * @param center 内容
     */
    public void setCenter(String center) {
        this.center = center;
    }
}